package com.piece.core.authentication.exception;

import com.piece.core.framework.constant.ExceptionAuthConstants;
import com.piece.core.framework.util.basic.I18nUtil;
import org.springframework.security.core.AuthenticationException;

/**
 *  密码不匹配异常类
 */
public class PasswordNotMatchException extends AuthenticationException {

    public PasswordNotMatchException() {
        super(I18nUtil.message(ExceptionAuthConstants.PASSWORD_NOMATCH));
    }
}
